package com.sakila.service;

import java.util.List;

import com.sakila.pojo.Staff;
import com.sakila.pojo.other.Page;

public interface StaffService {
	boolean isManager(Staff staff);
	Staff findById(Integer id);
	Staff findByUsername(String username);
	void saveStaff(Staff staff);
	void saveManager(Staff staff);
	void setStoreManager(Staff staff);
	void update(Staff staff);
	List<Staff> findAll(Page page);
	List<Staff> viewSubStaffs(Staff staff);
}
